home *** CD-ROM | disk | FTP | other *** search
- <!--- This view-only example calls the IsAuthorized
- function. --->
- <HTML>
- <HEAD>
- <TITLE>IsAuthorized Function</TITLE>
- </HEAD>
- <BASEFONT FACE="Arial, Helvetica" SIZE=2>
- <BODY bgcolor="#FFFFD5">
- <H3>IsAuthorized Function</H3>
- <P>
- Call the IsAuthorized function to determine
- if the user is authorized to perform the specified
- action on the specified ColdFusion resource.
- <P>
- This is a view-only example. Refer to the commented
- source code for more information.
- <!---
- <CFIF IsAuthorized(Datasource, Orders, select)>
- <CFQUERY name="GetList" datasource="Orders">
- SELECT * FROM Orders
- </CFQUERY>
- <CFOUTPUT QUERY="GetList">
- Authorization Succeeded. Order information follows:
- #Customer# - #BalanceDue#<BR>
- </CFOUTPUT>
- </CFIF>
- --->
-
- </BODY>
- </HTML>
-